﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_EMAIL_SEND.cs
// 项目名称：Lovol 
// 创建时间：2011/9/29
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
    /// <summary>
    ///T_EMAIL_SEND数据实体
    /// </summary>
    [Serializable]
    [OracleTable(TableName = "T_EMAIL_SEND", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_EMAIL_SEND", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    public class T_EMAIL_SEND_Entity
    {
        #region 变量定义
        ///<summary>
        ///自增编号
        ///</summary>
        private long _aUTOID;
        ///<summary>
        ///
        ///</summary>
        private string _cALLID = String.Empty;
        ///<summary>
        ///发件人地址
        ///</summary>
        private string _fROM_ADDR = String.Empty;
        ///<summary>
        ///发件人
        ///</summary>
        private string _fROM_NAME = String.Empty;
        ///<summary>
        ///收件人地址
        ///</summary>
        private string _tO_ADDR = String.Empty;
        ///<summary>
        ///抄送人地址
        ///</summary>
        private string _cC_ADDR = String.Empty;
        ///<summary>
        ///暗抄地址
        ///</summary>
        private string _bCC_ADDR = String.Empty;
        ///<summary>
        ///标题
        ///</summary>
        private string _sUBJECTS = String.Empty;
        ///<summary>
        ///内容
        ///</summary>
        private string _bODYS = String.Empty;
        ///<summary>
        ///
        ///</summary>
        private long? _sIZE_KB = 0;
        ///<summary>
        ///
        ///</summary>
        private string _aTTACH1 = String.Empty;
        ///<summary>
        ///
        ///</summary>
        private string _aTTACH2 = String.Empty;
        ///<summary>
        ///
        ///</summary>
        private string _aTTACH3 = String.Empty;
        ///<summary>
        ///
        ///</summary>
        private string _aTTACH4 = String.Empty;
        ///<summary>
        ///
        ///</summary>
        private string _aTTACH5 = String.Empty;
        ///<summary>
        ///
        ///</summary>
        private string _fILE_EBX = String.Empty;
        ///<summary>
        ///等级
        ///</summary>
        private long _lEVELS = 0;
        ///<summary>
        ///发送日期
        ///</summary>
        private string _sDATE = String.Empty;
        ///<summary>
        ///发送时间
        ///</summary>
        private string _sTIME = String.Empty;
        ///<summary>
        ///标志
        ///</summary>
        private long _vFLAG = 0;
        ///<summary>
        ///
        ///</summary>
        private long _dELETED = 0;
        ///<summary>
        ///工号
        ///</summary>
        private string _gHID = String.Empty;
        ///<summary>
        ///创建时间
        ///</summary>
        private DateTime? _cREATETIME;
        ///<summary>
        ///事业部代码
        ///</summary>
        private string _bUSINESSDIVISIONCODE = String.Empty;
        ///<summary>
        ///事业部名称
        ///</summary>
        private string _bUSINESSDIVISIONNAME = String.Empty;
        ///<summary>
        ///事业部编号
        ///</summary>
        private long? _bUSINESSDIVISIONID = 0;
        #endregion

        #region 构造函数
        ///<summary>
        ///
        ///</summary>
        public T_EMAIL_SEND_Entity()
        {

        }
        #endregion

        #region 公共属性

        ///<summary>
        ///自增编号
        ///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_EMAIL_SEND")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
        public long AUTOID
        {
            get { return _aUTOID; }
            set { _aUTOID = value; }

        }

        ///<summary>
        ///
        ///</summary>		
        public string CALLID
        {
            get { return _cALLID; }
            set
            {
                _cALLID = value;
            }

        }

        ///<summary>
        ///发件人地址
        ///</summary>		
        public string FROM_ADDR
        {
            get { return _fROM_ADDR; }
            set
            {
                _fROM_ADDR = value;
            }

        }

        ///<summary>
        ///发件人
        ///</summary>		
        public string FROM_NAME
        {
            get { return _fROM_NAME; }
            set
            {
                _fROM_NAME = value;
            }

        }

        ///<summary>
        ///收件人地址
        ///</summary>		
        public string TO_ADDR
        {
            get { return _tO_ADDR; }
            set
            {
                _tO_ADDR = value;
            }

        }

        ///<summary>
        ///抄送人地址
        ///</summary>		
        public string CC_ADDR
        {
            get { return _cC_ADDR; }
            set
            {
                _cC_ADDR = value;
            }

        }

        ///<summary>
        ///暗抄地址
        ///</summary>		
        public string BCC_ADDR
        {
            get { return _bCC_ADDR; }
            set
            {
                _bCC_ADDR = value;
            }

        }

        ///<summary>
        ///标题
        ///</summary>		
        public string SUBJECTS
        {
            get { return _sUBJECTS; }
            set
            {
                _sUBJECTS = value;
            }

        }

        ///<summary>
        ///内容
        ///</summary>		
        public string BODYS
        {
            get { return _bODYS; }
            set
            {
                _bODYS = value;
            }

        }

        ///<summary>
        ///
        ///</summary>		
        public long? SIZE_KB
        {
            get { return _sIZE_KB; }
            set { _sIZE_KB = value; }

        }

        ///<summary>
        ///
        ///</summary>		
        public string ATTACH1
        {
            get { return _aTTACH1; }
            set
            {
                _aTTACH1 = value;
            }

        }

        ///<summary>
        ///
        ///</summary>		
        public string ATTACH2
        {
            get { return _aTTACH2; }
            set
            {
                _aTTACH2 = value;
            }

        }

        ///<summary>
        ///
        ///</summary>		
        public string ATTACH3
        {
            get { return _aTTACH3; }
            set
            {
                _aTTACH3 = value;
            }

        }

        ///<summary>
        ///
        ///</summary>		
        public string ATTACH4
        {
            get { return _aTTACH4; }
            set
            {
                _aTTACH4 = value;
            }

        }

        ///<summary>
        ///
        ///</summary>		
        public string ATTACH5
        {
            get { return _aTTACH5; }
            set
            {
                _aTTACH5 = value;
            }

        }

        ///<summary>
        ///
        ///</summary>		
        public string FILE_EBX
        {
            get { return _fILE_EBX; }
            set
            {
                _fILE_EBX = value;
            }

        }

        ///<summary>
        ///等级
        ///</summary>		
        public long LEVELS
        {
            get { return _lEVELS; }
            set { _lEVELS = value; }

        }

        ///<summary>
        ///发送日期
        ///</summary>		
        public string SDATE
        {
            get { return _sDATE; }
            set
            {
                _sDATE = value;
            }

        }

        ///<summary>
        ///发送时间
        ///</summary>		
        public string STIME
        {
            get { return _sTIME; }
            set
            {
                _sTIME = value;
            }

        }

        ///<summary>
        ///标志
        ///</summary>		
        public long VFLAG
        {
            get { return _vFLAG; }
            set { _vFLAG = value; }

        }

        ///<summary>
        ///
        ///</summary>		
        public long DELETED
        {
            get { return _dELETED; }
            set { _dELETED = value; }

        }

        ///<summary>
        ///工号
        ///</summary>		
        public string GHID
        {
            get { return _gHID; }
            set
            {
                _gHID = value;
            }

        }

        ///<summary>
        ///创建时间
        ///</summary>		
        public DateTime? CREATETIME
        {
            get { return _cREATETIME; }
            set { _cREATETIME = value; }

        }

        ///<summary>
        ///事业部代码
        ///</summary>		
        public string BUSINESSDIVISIONCODE
        {
            get { return _bUSINESSDIVISIONCODE; }
            set
            {
                _bUSINESSDIVISIONCODE = value;
            }

        }

        ///<summary>
        ///事业部名称
        ///</summary>		
        public string BUSINESSDIVISIONNAME
        {
            get { return _bUSINESSDIVISIONNAME; }
            set
            {
                _bUSINESSDIVISIONNAME = value;
            }

        }

        ///<summary>
        ///事业部编号
        ///</summary>		
        public long? BUSINESSDIVISIONID
        {
            get { return _bUSINESSDIVISIONID; }
            set { _bUSINESSDIVISIONID = value; }

        }


        #endregion

    }
}
